package com.euond.accv.mdm.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.euond.common.domain.AbstractEntity;
import org.hibernate.annotations.DynamicInsert;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


@Entity
@Table(name="mdm_customer")
@DynamicInsert //该注解会根据属性非空动态生成insert语句
public class MdmCustomer extends AbstractEntity<String> implements Serializable{
	private static final long serialVersionUID = 1L;
    
	/**
	 * 
	 */
	@Id
    @Column(name="customer_no")
    private String customerNo;
    
	/**
	 * 
	 */
    @Column(name="customer_name")
    private String customerName;
    
	/**
	 * 
	 */
    @Column(name="customer_type")
    private String customerType;
    
	/**
	 * 
	 */
    @Column(name="bank_name")
    private String bankName;
    
	/**
	 * 
	 */
    @Column(name="account_no")
    private String accountNo;
    
	/**
	 * 
	 */
    @Column(name="account_name")
    private String accountName;
    
	/**
	 * 
	 */
    @Column(name="tax_no")
    private String taxNo;
    
	/**
	 * 
	 */
    @Column(name="ratepay_level")
    private String ratepayLevel;
    
	/**
	 * 
	 */
    @Column(name="president")
    private String president;
    
	/**
	 * 
	 */
    @Column(name="shop_card_no")
    private String shopCardNo;
    
	/**
	 * 
	 */
    @Column(name="id_no")
    private String idNo;
    
	/**
	 * 
	 */
    @Column(name="contacter")
    private String contacter;
    
	/**
	 * 
	 */
    @Column(name="phone_no")
    private String phoneNo;
    
	/**
	 * 
	 */
    @Column(name="post_no")
    private String postNo;
    
	/**
	 * 
	 */
    @Column(name="email")
    private String email;
    
	/**
	 * 
	 */
    @Column(name="province")
    private String province;
    
	/**
	 * 
	 */
    @Column(name="city")
    private String city;
    
	/**
	 * 
	 */
    @Column(name="county")
    private String county;
    
	/**
	 * 
	 */
    @Column(name="street")
    private String street;
    
	/**
	 * 
	 */
    @Column(name="address")
    private String address;
    
	/**
	 * 
	 */
    @Column(name="order_no")
    private Integer orderNo;
    
	/**
	 * 
	 */
    @Column(name="status")
    private String status;
    
	/**
	 * 
	 */
    @Column(name="remarks")
    private String remarks;
    
	/**
	 * 
	 */
    @Column(name="creator")
    private String creator;
    
	/**
	 * 
	 */
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@Column(name="create_time")
    private Date createTime;
    
	/**
	 * 
	 */
    @Column(name="modifier")
    private String modifier;
    
	/**
	 * 
	 */
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@Column(name="modify_time")
    private Date modifyTime;
    
    
    public String getCustomerNo(){
    	return this.customerNo;
    }
    
    public void setCustomerNo(String customerNo){
    	this.customerNo = customerNo;
    }
    public String getCustomerName(){
    	return this.customerName;
    }
    
    public void setCustomerName(String customerName){
    	this.customerName = customerName;
    }
    public String getCustomerType(){
    	return this.customerType;
    }
    
    public void setCustomerType(String customerType){
    	this.customerType = customerType;
    }
    public String getBankName(){
    	return this.bankName;
    }
    
    public void setBankName(String bankName){
    	this.bankName = bankName;
    }
    public String getAccountNo(){
    	return this.accountNo;
    }
    
    public void setAccountNo(String accountNo){
    	this.accountNo = accountNo;
    }
    public String getAccountName(){
    	return this.accountName;
    }
    
    public void setAccountName(String accountName){
    	this.accountName = accountName;
    }
    public String getTaxNo(){
    	return this.taxNo;
    }
    
    public void setTaxNo(String taxNo){
    	this.taxNo = taxNo;
    }
    public String getRatepayLevel(){
    	return this.ratepayLevel;
    }
    
    public void setRatepayLevel(String ratepayLevel){
    	this.ratepayLevel = ratepayLevel;
    }
    public String getPresident(){
    	return this.president;
    }
    
    public void setPresident(String president){
    	this.president = president;
    }
    public String getShopCardNo(){
    	return this.shopCardNo;
    }
    
    public void setShopCardNo(String shopCardNo){
    	this.shopCardNo = shopCardNo;
    }
    public String getIdNo(){
    	return this.idNo;
    }
    
    public void setIdNo(String idNo){
    	this.idNo = idNo;
    }
    public String getContacter(){
    	return this.contacter;
    }
    
    public void setContacter(String contacter){
    	this.contacter = contacter;
    }
    public String getPhoneNo(){
    	return this.phoneNo;
    }
    
    public void setPhoneNo(String phoneNo){
    	this.phoneNo = phoneNo;
    }
    public String getPostNo(){
    	return this.postNo;
    }
    
    public void setPostNo(String postNo){
    	this.postNo = postNo;
    }
    public String getEmail(){
    	return this.email;
    }
    
    public void setEmail(String email){
    	this.email = email;
    }
    public String getProvince(){
    	return this.province;
    }
    
    public void setProvince(String province){
    	this.province = province;
    }
    public String getCity(){
    	return this.city;
    }
    
    public void setCity(String city){
    	this.city = city;
    }
    public String getCounty(){
    	return this.county;
    }
    
    public void setCounty(String county){
    	this.county = county;
    }
    public String getStreet(){
    	return this.street;
    }
    
    public void setStreet(String street){
    	this.street = street;
    }
    public String getAddress(){
    	return this.address;
    }
    
    public void setAddress(String address){
    	this.address = address;
    }
    public Integer getOrderNo(){
    	return this.orderNo;
    }
    
    public void setOrderNo(Integer orderNo){
    	this.orderNo = orderNo;
    }
    public String getStatus(){
    	return this.status;
    }
    
    public void setStatus(String status){
    	this.status = status;
    }
    public String getRemarks(){
    	return this.remarks;
    }
    
    public void setRemarks(String remarks){
    	this.remarks = remarks;
    }
    public String getCreator(){
    	return this.creator;
    }
    
    public void setCreator(String creator){
    	this.creator = creator;
    }
    public Date getCreateTime(){
    	return this.createTime;
    }
    
    public void setCreateTime(Date createTime){
    	this.createTime = createTime;
    }
    public String getModifier(){
    	return this.modifier;
    }
    
    public void setModifier(String modifier){
    	this.modifier = modifier;
    }
    public Date getModifyTime(){
    	return this.modifyTime;
    }
    
    public void setModifyTime(Date modifyTime){
    	this.modifyTime = modifyTime;
    }
    
    @Override
	public String getId() {
		// TODO Auto-generated method stub
		return this.customerNo;
	}
}
